package com.sdleyou.treepro.common.model.dao;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.List;

/**
 * 公司内部植树统计模型
 */
@Data
@JsonNaming(value = PropertyNamingStrategy.SnakeCaseStrategy.class)
public class CompanyTree {
    /**
     * 树木ID
     */
    @Field("tree_id")
    private String treeId;

    /**
     * 树木名称
     */
    @Field("tree_name")
    private String treeName;

    /**
     * 树木icon
     */
    @Field("tree_icon")
    private String treeIcon;

    /**
     * 树木image
     */
    @Field("tree_image")
    private List<String> treeImage;

    /**
     * 累积种植数量
     */
    @Field("total_count")
    private Integer totalCount;
}
